package com.ndk.demo;

public class jni {
    static {
        try {
            System.loadLibrary("BTfun0860");
        } catch (UnsatisfiedLinkError ule) {
            ule.printStackTrace();
            System.err.println("WARNING: Could not load serial_jni library!");
        }
    }

    //Java_BTfun0860_ICC_1cpucard_1ATR
    public native int ICC_cpucard_ATR(byte[] Card_SN,byte[] Card_Type,short clk_index,short vol_index,short fidi,short flags);

    public native int ICC_T0_TPDU(short inIn,short ins,short cla,short p1,short p2,short p3,byte[] databuf,short[] psw);
//    public static native int ICC_TO_TPDU();
}
